package net.sparrow.gui.matte.data;

import net.minecraft.src.ScaledResolution;
import net.sparrow.Sparrow;

public class MtCoord {

	public Double x;
	public Double y;
	private ScaledResolution sr;
	
	public MtCoord(double ix, double iy) {
		x = ix;
		y = iy;
		sr = new ScaledResolution(Sparrow.mc().minecraft().gameSettings, 
				Sparrow.mc().minecraft().displayWidth, Sparrow.mc().minecraft().displayHeight);
	}

	

	public Double getX() {
		return x;
	}
	
	public Double getY() {
		return y;
	}
	
	public Double getActualX() {
		return x * .01 * sr.getScaledWidth();
	}
	
	public Double getActualY() {
		return y * .01 * sr.getScaledHeight();
	}
	
}
